import { EntitySchema } from '@mikro-orm/core';

export class ImsYzdKpCoreSys {
  id!: number;
  copyright?: unknown;
  title?: string;
  icp?: string;
}

export const ImsYzdKpCoreSysSchema = new EntitySchema({
  class: ImsYzdKpCoreSys,
  properties: {
    id: { primary: true, type: 'number' },
    copyright: { type: 'unknown', columnType: 'longtext', nullable: true },
    title: { type: 'string', length: 255, nullable: true },
    icp: { type: 'string', length: 255, nullable: true },
  },
});
